set replset=rs1
set home=%cd%
set port=27023
set logpath=%home%\shard\log\%port%.log
set dbpath=%home%\shard\data\%port%
set dbserver=%home%\bin\mongod
echo %home%
%dbserver% --dbpath %dbpath% --port %port% --logpath %logpath% --logappend --shardsvr --replSet=%replset%

